<?php

namespace App\Policies;

use App\Models\User;
use App\Models\VipPurchase;
use Illuminate\Auth\Access\HandlesAuthorization;

class VipPurchasePolicy
{
    use HandlesAuthorization;
    
    public function own(User $user, VipPurchase $vipPurchase)
    {
	    return $user->id === $vipPurchase->user_id;
    }
}
